

export class ItemInfoModel {
    gold: number   //金币
    exp: number   //经验
    diamond: number //魂晶
    diamond2: number // 异石
    vipExp: number
    usedItemStat: any
    constructor(opts: any = {}) {
        this.gold = Math.floor(opts.gold) || 0
        this.exp = opts.exp || 0
        this.diamond = opts.diamond || 0
        this.diamond2 = opts.diamond2 || 0
        this.vipExp = opts.vipExp || 0
        this.usedItemStat = opts.usedItemStat || {}
    }
}

